#![feature(test)]
extern crate test;
use nvjpeg::CudaHostMemory;
use test::{black_box, Bencher};

#[bench]
fn bench_cuda_host_memory(b: &mut Bencher) {
    b.iter(|| {
        let mem = CudaHostMemory::new(1920 * 1080 * 3);
        black_box(mem);
    });
}
